import React from 'react';
import Typography from "@material-ui/core/Typography";
import CircularProgress from "@material-ui/core/CircularProgress";

export default function LoadingSpinner(){
    // data-testid属性是单元测试用
    return <Typography variant="subtitle1" color="primary" data-testid="loading-spinner"><CircularProgress/></Typography>
};
